- 
                Notifications
    You must be signed in to change notification settings 
- Fork 255
Simplify specifying benchmark output file #2814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CUDA.jl Benchmarks
| Benchmark suite | Current: 1f9b6e3 | Previous: e561e7a | Ratio | 
|---|---|---|---|
| latency/precompile | 42928882636ns | 43393378645ns | 0.99 | 
| latency/ttfp | 6986973732ns | 7099882121ns | 0.98 | 
| latency/import | 3555865382ns | 3463869374ns | 1.03 | 
| integration/volumerhs | 9611650.5ns | 9623663ns | 1.00 | 
| integration/byval/slices=1 | 146998ns | 146714ns | 1.00 | 
| integration/byval/slices=3 | 426161ns | 425787ns | 1.00 | 
| integration/byval/reference | 145103ns | 144967ns | 1.00 | 
| integration/byval/slices=2 | 286545ns | 286209ns | 1.00 | 
| integration/cudadevrt | 103507ns | 103426ns | 1.00 | 
| kernel/indexing | 14323ns | 14196ns | 1.01 | 
| kernel/indexing_checked | 14916ns | 14906ns | 1.00 | 
| kernel/occupancy | 694.0466666666666ns | 759.2189781021898ns | 0.91 | 
| kernel/launch | 2142.6666666666665ns | 2287.222222222222ns | 0.94 | 
| kernel/rand | 18371ns | 15792ns | 1.16 | 
| array/reverse/1d | 19772ns | 19624ns | 1.01 | 
| array/reverse/2d | 24931ns | 24928.5ns | 1.00 | 
| array/reverse/1d_inplace | 10538ns | 10448ns | 1.01 | 
| array/reverse/2d_inplace | 12113ns | 12006ns | 1.01 | 
| array/copy | 20859ns | 20990ns | 0.99 | 
| array/iteration/findall/int | 158557ns | 159128.5ns | 1.00 | 
| array/iteration/findall/bool | 140476ns | 139832ns | 1.00 | 
| array/iteration/findfirst/int | 163335.5ns | 162546ns | 1.00 | 
| array/iteration/findfirst/bool | 166096ns | 164393.5ns | 1.01 | 
| array/iteration/scalar | 72107ns | 72740ns | 0.99 | 
| array/iteration/logical | 215497.5ns | 216803.5ns | 0.99 | 
| array/iteration/findmin/1d | 46807ns | 45968ns | 1.02 | 
| array/iteration/findmin/2d | 96415.5ns | 96433ns | 1.00 | 
| array/reductions/reduce/Int64/1d | 43110ns | 44555ns | 0.97 | 
| array/reductions/reduce/Int64/dims=1 | 46734ns | 48607ns | 0.96 | 
| array/reductions/reduce/Int64/dims=2 | 62883ns | 63682.5ns | 0.99 | 
| array/reductions/reduce/Int64/dims=1L | 89091ns | 88842ns | 1.00 | 
| array/reductions/reduce/Int64/dims=2L | 88266ns | 89417.5ns | 0.99 | 
| array/reductions/reduce/Float32/1d | 34797ns | 34490ns | 1.01 | 
| array/reductions/reduce/Float32/dims=1 | 51815ns | 50554ns | 1.02 | 
| array/reductions/reduce/Float32/dims=2 | 59786ns | 59726ns | 1.00 | 
| array/reductions/reduce/Float32/dims=1L | 52383ns | 52852ns | 0.99 | 
| array/reductions/reduce/Float32/dims=2L | 70338ns | 70052.5ns | 1.00 | 
| array/reductions/mapreduce/Int64/1d | 43238.5ns | 45547ns | 0.95 | 
| array/reductions/mapreduce/Int64/dims=1 | 51677ns | 48423.5ns | 1.07 | 
| array/reductions/mapreduce/Int64/dims=2 | 62618.5ns | 61443ns | 1.02 | 
| array/reductions/mapreduce/Int64/dims=1L | 89035ns | 88888ns | 1.00 | 
| array/reductions/mapreduce/Int64/dims=2L | 87315.5ns | 87908.5ns | 0.99 | 
| array/reductions/mapreduce/Float32/1d | 34746ns | 34245.5ns | 1.01 | 
| array/reductions/mapreduce/Float32/dims=1 | 41916.5ns | 47287ns | 0.89 | 
| array/reductions/mapreduce/Float32/dims=2 | 59891ns | 59743ns | 1.00 | 
| array/reductions/mapreduce/Float32/dims=1L | 52857.5ns | 53154ns | 0.99 | 
| array/reductions/mapreduce/Float32/dims=2L | 70310ns | 70503ns | 1.00 | 
| array/broadcast | 19896ns | 20866ns | 0.95 | 
| array/copyto!/gpu_to_gpu | 11175ns | 12817ns | 0.87 | 
| array/copyto!/cpu_to_gpu | 215649.5ns | 213873ns | 1.01 | 
| array/copyto!/gpu_to_cpu | 283084ns | 284406ns | 1.00 | 
| array/accumulate/Int64/1d | 125491ns | 125170ns | 1.00 | 
| array/accumulate/Int64/dims=1 | 83763ns | 83519ns | 1.00 | 
| array/accumulate/Int64/dims=2 | 158115ns | 158002ns | 1.00 | 
| array/accumulate/Int64/dims=1L | 1709771ns | 1709945.5ns | 1.00 | 
| array/accumulate/Int64/dims=2L | 966596ns | 966571ns | 1.00 | 
| array/accumulate/Float32/1d | 109531ns | 109737ns | 1.00 | 
| array/accumulate/Float32/dims=1 | 81191ns | 80823.5ns | 1.00 | 
| array/accumulate/Float32/dims=2 | 148152ns | 147778ns | 1.00 | 
| array/accumulate/Float32/dims=1L | 1619394ns | 1619194ns | 1.00 | 
| array/accumulate/Float32/dims=2L | 698520ns | 698530ns | 1.00 | 
| array/construct | 1289.8ns | 1279.85ns | 1.01 | 
| array/random/randn/Float32 | 43954ns | 47253.5ns | 0.93 | 
| array/random/randn!/Float32 | 24863ns | 24573ns | 1.01 | 
| array/random/rand!/Int64 | 27237ns | 27294ns | 1.00 | 
| array/random/rand!/Float32 | 8784ns | 8724.333333333334ns | 1.01 | 
| array/random/rand/Int64 | 38266ns | 29633ns | 1.29 | 
| array/random/rand/Float32 | 13013ns | 12902ns | 1.01 | 
| array/permutedims/4d | 60387ns | 61250.5ns | 0.99 | 
| array/permutedims/2d | 54355.5ns | 54865ns | 0.99 | 
| array/permutedims/3d | 55314ns | 55511ns | 1.00 | 
| array/sorting/1d | 2758071ns | 2757710ns | 1.00 | 
| array/sorting/by | 3369468.5ns | 3344132.5ns | 1.01 | 
| array/sorting/2d | 1088835ns | 1080389ns | 1.01 | 
| cuda/synchronization/stream/auto | 1044.6666666666667ns | 1015.8333333333334ns | 1.03 | 
| cuda/synchronization/stream/nonblocking | 8191.4ns | 7618.9ns | 1.08 | 
| cuda/synchronization/stream/blocking | 843.5106382978723ns | 799.1530612244898ns | 1.06 | 
| cuda/synchronization/context/auto | 1161ns | 1164.1ns | 1.00 | 
| cuda/synchronization/context/nonblocking | 8420.4ns | 7651.4ns | 1.10 | 
| cuda/synchronization/context/blocking | 902.1276595744681ns | 895.8490566037735ns | 1.01 | 
This comment was automatically generated by workflow using github-action-benchmark.
| Error unrelated | 
| Your PR no longer requires formatting changes. Thank you for your contribution! | 
| Can you elaborate why this is needed? It seems like a very hacky way of feeding this into the script, why not parse an actual (but optional) CLI argument? | 
| 
 Fair enough. l'll do that | 
| Benchmark output file is now an optional argument | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, it's good to use [ci skip] or [only benchmarks] or so to avoid kicking off a whole CI run.
| Thank you! 
 I didn't bother because my latest push to #2815 kicked off a whole CI run anyway... | 
| 
 I'm not sure how that's relevant? It's not because CI runs on another PR anyway, that it needs to run here needlessly. | 
| I should have been more clear in my last response. The linked PR has an  | 
| I see. That's surprising, I'm not sure what regressed there. | 
Makes no changes to CI but makes it easier to specify the benchmarks output filename without having to edit the file. Will open an equivalent PR for Metal if this is approved here.